# -*- coding: utf-8 -*-
from import_export import resources
from .models import Label, LabelStickGood


class LabelResource(resources.ModelResource):
    class Meta:
        model = Label
        fields = [field.name for field in Label._meta.fields]


class LabelStickGoodResource(resources.ModelResource):
    class Meta:
        model = LabelStickGood
        fields = [field.name for field in LabelStickGood._meta.fields]